include ../makefile.head
CFLAGS  += -I../../include -O3

# Implicit rules

SUFFIXES = .o .c .h .a .so .sl

COMPILE.c=$(CC) $(CFLAGS) -c
	#(echo "compiling $< ...")
.c.o:
	($(COMPILE.c) -o $@ $<)


SRCS = media_api.c 
OBJS = $(SRCS:.c=.o)


default:	libmedia_api.a

libmedia_api.a:	$(OBJS)
	@($(AR) $(ARFLAGS) $(OUTDIR)/libmedia_api.a $(OBJS))

clean:
	$(RM) $(OBJS) $(OUTDIR)/libmedia_api.a
symlink:
veryclean:
	$(RM) $(OBJS) $(OUTDIR)/libmedia_api.a
	rm -rf ./html ; mkdir html

